﻿using Super_Management_Mayhem.Content.Spritesheet;
using Transformable_Engine_v2.Engine.Animation.FrameAnimation;

namespace Super_Management_Mayhem.Content.Animations
{
    public class ButtonSelected : FrameAnimationDescription
    {
        public ButtonSelected()
        {
            IsLooping = false;
            AddFrame(0, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected0), 1));
            AddFrame(1, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected1), 2));
            AddFrame(2, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected2), 3));
            AddFrame(3, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected3), 4));
            AddFrame(4, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected4), 5));
            AddFrame(5, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected5), 6));
            AddFrame(6, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected6), 7));
            AddFrame(7, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected7), 8));
            AddFrame(8, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected8), 9));
            AddFrame(9, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.Selected9), 10));
            AddFrame(10, new FrameDescription(MenuSheet.GetSprite(MenuSheet.Button.NotSelected), 11) { IsLastFrame = true });
            FrameRate = 24;
        }
    }
}